package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.StrategyCatalog;
import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCatalogService {

    void insert(StrategyCatalog record);

    StrategyCatalog selectByPrimaryKey(Long id);

    List<StrategyCatalog> selectAll();

    PageInfo<StrategyCatalog> queryForList(QueryObject qo);

    void updateByPrimaryKey(StrategyCatalog record);

    /**
     * 根据目的地id查询攻略分类
     * @param destId
     * @return
     */
    List<StrategyCatalog> listByDestID(Long destId);
}
